From: Carlos Garnacho Date: Tue, 21 Jan 2020 15:33:28 +0000 (+0100) Subject: keyboard: Do not set the initial page on construction X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~781^2^2~153 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=1ef73061492ec27241fc3e99c56a4c8c42259595;p=gnome-shell.git keyboard: Do not set the initial page on construction It is already scheduled to be set on first map. Doing so here triggers size and theme node checks the actor tree is not ready for, as the toplevel actor is not yet attached to the stage. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/943 --- diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js index 7e7cee21b..7f7e8a4e5 100644 --- a/js/ui/keyboard.js +++ b/js/ui/keyboard.js @@ -935,7 +935,6 @@ var EmojiSelection = GObject.registerClass({ this.add_child(bottomRow); this._curPage = 0; - this._emojiPager.setCurrentPage(0); } vfunc_map() {